package com.jgp.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019-11-02
 */
@Controller
@RequestMapping("/sys/param-ctl")
public class ParamController extends JGPBackController  {
    
    @RequestMapping("show-param-list-mgr")
    public String showNewMenuMgr() {
        return page("showParamListMgr");
    }
    
    @RequestMapping("edit-param-group")
    public String addGroup(Long id,Long parentId, Model model) {
        re(model,"id",id);
        re(model,"parentId",parentId);
        return page("editParamGroup");
    }
    
    @RequestMapping("edit-list")
    public String createList(Long id,Long parentId, Model model) {
        re(model,"id",id);
        re(model,"parentId",parentId);
        return page("editList");
    }
    
    @RequestMapping("edit-list-item")
    public String createListItem(Long id,Long parentId, Model model) {
        re(model,"id",id);
        re(model,"parentId",parentId);
        return page("editListItem");
    }
    
}
